1658. A creditor who has been only partly paid may exercise his rights in respect of the balance of his claim in preference to the person subrogated from whom he has received only part of his claim.
However, if the creditor has obligated himself to the person subrogated to guarantee payment of the amount for which the subrogation is acquired, the person subrogated has the preference.